package oop.pat;

import java.util.concurrent.ThreadPoolExecutor;

public class ClassRoom {

    //属性私有
    private String name;//名字

    private int id;//编号

    protected String address;//位置

    //提供public修饰符get/set方法
    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }

}
